package cn.kgc.ffzw.day18.homework2;

public abstract class Handset{

    private String brand;

    private String type;

    public void info() {
        System.out.println("手机信息：" + "\n品牌：" + brand + ", 型号：" + type );
    }

    public abstract void sendInfo();

    public abstract void call();

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
